package com.hitemole.objects;

import com.hitemole.interfaces.IObject;

import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;

public class GameObject implements IObject {

	protected String name;
	protected TextureRegion image;
	protected Vector2 position;
	
	public GameObject(String name, TextureRegion image, Vector2 position){
		this.name=name;
		this.image=image;
		this.position=position;
	}

	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return name;
	}

	@Override
	public void setImage(TextureRegion image) {
		// TODO Auto-generated method stub
		this.image = image;
	}

	@Override
	public TextureRegion getImage() {
		// TODO Auto-generated method stub
		return image;
	}

	@Override
	public void setPosition(Vector2 position) {
		// TODO Auto-generated method stub
		this.position = position;
	}

	@Override
	public Vector2 getPosition() {
		// TODO Auto-generated method stub
		return position;
	}
}
